package com.spark;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by Administrator on 2017/7/7.
 */
public class GJJ {

    public static void main(String[] args) {
        Double [] ids={
                6607.08,
                5207.8,
                3907.8,
                2607.8,
                1307.8,
                7.8,
                15517.8,
                14217.8,
                12917.8,
                4417.8,
                4017.8,
                3617.8,
        };

        List<Double> gjj= Arrays.asList(ids);

        List<Double> list=new ArrayList<Double>();
        list.addAll(gjj);




        Double cell=6607.08;
        int mouth=7;

        for(cell=6607.8;cell<100000;cell+=1300){
            list.add(cell);
            Double sum=0.0;
            System.out.println("第"+mouth%13+"月");
            for(int i=list.size();i>list.size()-12;i--){
                sum+=list.get(i-1);
                System.out.print(list.get(i-1)+",");
            }
            System.out.println("\n 可货 "+15*sum/12);
            mouth++;
        }


    }
}
